package com.linxi.rpccompensation.mapper;

import com.linxi.rpccompensation.entity.SysJob;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lx
 */
@Mapper
public interface JobMapper {

	/**
	 * 查询出可执行的定时任务配置
	 *
	 * @return
	 */
	@Select("select * from sys_job where status = 1")
	List<SysJob> queryJobList();
}
